package com.friday.dao;

import com.alibaba.fastjson.JSONArray;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface IndexDao {

    JSONArray getTypeSale();

    JSONArray getSaleRank();

    JSONArray getCarousel();

    int getOrderCount(int company_id);

    JSONArray getOrderTypeCount(int company_id);

    float getSaleCount(int company_id);

    JSONArray getSaleCountByMonth(int company_id);

    int getWQuoCount(int company_id);

    int getWInqCount(int company_id);

    int getOnSalePd();

    int getCustomerCount();

    float getSaleSum();

    JSONArray getInquiryCount();

    JSONArray getQuotationCount();

    JSONArray getorderCount();

}
